package com.epoint.entity;



import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * @Description 借阅信息表
 * @author ylc
 */
public class BorrowInfo {
	// 借阅号
	private String borrowId;
	// 图书编号
	private String bookId;
	// 借阅图书名称(用于展示数据)
	private String bookName;
	// 借阅人
	private String borrower;
	// 借阅电话
	private String phone;
	// 借阅时间 
	private Date borrowTime;
	// 归还时间
	@JSONField(name = "returnTime")
	private Date returnTime;
	
	public BorrowInfo() {
		super();
	}

	public String getBorrowId() {
		return borrowId;
	}

	public void setBorrowId(String borrowId) {
		this.borrowId = borrowId;
	}

	public String getBookId() {
		return bookId;
	}

	public void setBookId(String bookId) {
		this.bookId = bookId;
	}

	public String getBookName() {
		return bookName;
	}

	public void setBookName(String bookName) {
		this.bookName = bookName;
	}

	public String getBorrower() {
		return borrower;
	}

	public void setBorrower(String borrower) {
		this.borrower = borrower;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Date getBorrowTime() {
		return borrowTime;
	}

	public void setBorrowTime(Date borrowTime) {
		this.borrowTime = borrowTime;
	}

	public Date getReturnTime() {
		return returnTime;
	}

	public void setReturnTime(Date returnTime) {
		this.returnTime = returnTime;
	}

	@Override
	public String toString() {
		return "BorrowInfo [borrowId=" + borrowId + ", bookId=" + bookId + ", bookName=" + bookName + ", borrower="
				+ borrower + ", phone=" + phone + ", borrowTime=" + borrowTime + ", returnTime=" + returnTime + "]";
	}
	
	
	
}
